package VUTHANHPHUC.SERIZABLE;

import java.util.List;

public class Controllers<T> {
	private Models<T> objModel;

	public Controllers() {
		objModel = new Models<T>();
	}

	public boolean WriteListObjectIntoFiles(List<T> lisT, String resource, String fileName) throws Exception {
		return objModel.WriteListObjectIntoFiles(lisT, resource, fileName);
	}

	public List<T> ReadListObjectIntoFiles(String resource, String fileName) throws Exception {
		return objModel.ReadListObjectIntoFiles(resource, fileName);
	}

	public boolean WriteObjects(List<Students> lisStudent, String parentPath, String fileName) {
		// TODO Auto-generated method stub
		return false;
	}

}
